import { IsString, Length } from "class-validator";

export default class CreateDto {
    @Length(1, 30)
    @IsString()
    name:string;

    @Length(1, 20)
    @IsString()
    code:string;
}